import xadmin
from xadmin import views
from .models import Banner,AppTabSetting,AppSetting

class UserOperationAdmin(object):
    pass

class AppTabAdmin(object):

    list_display = ['tagID', 'title', 'norbgImage', 'selectbgImage']

class AppSetAdmin(object):
    list_display = ['navColor', 'tabColor', 'is_Tab','is_NewFrame','launchImage']

xadmin.site.register(Banner,UserOperationAdmin)
xadmin.site.register(AppTabSetting,AppTabAdmin)
xadmin.site.register(AppSetting,AppSetAdmin)